package com.spring.daily.web.model;

import java.util.Date;

public class DailyRecordDetail {
    private String id;

    private String dailyRecordid;

    private String dailyRecordTypeid;

    private String beginTime;

    private String endTime;

    private String record;

    private Date createdtime;

    private Date changedtime;

    private String initialoperatorid;

    private String initialoperatorname;

    private String operatorid;

    private String operatorname;

    private Integer entityavailablestate;
    
    public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	private Integer sort;
    
    public  DailyRecordDetail (DailyRecordDetailBase dailyRecordDetailBase,String recordID){    	
    	this.dailyRecordid=recordID;
    	this.dailyRecordTypeid=dailyRecordDetailBase.getTypeid();
    	this.beginTime=dailyRecordDetailBase.getBeginTime();
    	this.endTime=dailyRecordDetailBase.getEndTime();
    	this.record=dailyRecordDetailBase.getRecord();
    	this.sort=dailyRecordDetailBase.getSort();
    };
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDailyRecordid() {
        return dailyRecordid;
    }

    public void setDailyRecordid(String dailyRecordid) {
        this.dailyRecordid = dailyRecordid == null ? null : dailyRecordid.trim();
    }

    public String getDailyRecordTypeid() {
        return dailyRecordTypeid;
    }

    public void setDailyRecordTypeid(String dailyRecordTypeid) {
        this.dailyRecordTypeid = dailyRecordTypeid == null ? null : dailyRecordTypeid.trim();
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime == null ? null : beginTime.trim();
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime == null ? null : endTime.trim();
    }

    public String getRecord() {
        return record;
    }

    public void setRecord(String record) {
        this.record = record == null ? null : record.trim();
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getChangedtime() {
        return changedtime;
    }

    public void setChangedtime(Date changedtime) {
        this.changedtime = changedtime;
    }

    public String getInitialoperatorid() {
        return initialoperatorid;
    }

    public void setInitialoperatorid(String initialoperatorid) {
        this.initialoperatorid = initialoperatorid == null ? null : initialoperatorid.trim();
    }

    public String getInitialoperatorname() {
        return initialoperatorname;
    }

    public void setInitialoperatorname(String initialoperatorname) {
        this.initialoperatorname = initialoperatorname == null ? null : initialoperatorname.trim();
    }

    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid == null ? null : operatorid.trim();
    }

    public String getOperatorname() {
        return operatorname;
    }

    public void setOperatorname(String operatorname) {
        this.operatorname = operatorname == null ? null : operatorname.trim();
    }

    public Integer getEntityavailablestate() {
        return entityavailablestate;
    }

    public void setEntityavailablestate(Integer entityavailablestate) {
        this.entityavailablestate = entityavailablestate;
    }
}